package com.black.order.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @Author: Young
 * @CreateTime: 2025-07-31
 * @Description: 以对象的形式注入配置，可实现配置自动刷新
 * @Version: 1.0
 */
@Data
@Component
@ConfigurationProperties(prefix = "order")
public class OrderProperties {

    String timeout;

    String autoConfirm;

}
